package com.example.mannortycoon.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mannortycoon.entity.SeedUnlockConditionsEntity;
import com.example.mannortycoon.uitl.PageUtils;
import com.example.mannortycoon.vo.UnlockConditionInfo;
import com.example.mannortycoon.vo.UnlockConditionInfo2;

import java.util.List;
import java.util.Map;

public interface SeedUnlockConditionsService extends IService<SeedUnlockConditionsEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<UnlockConditionInfo> getUnlockConditionsBySeedId(Long seedId);

    void save(List<SeedUnlockConditionsEntity> unLockSeeds);

    void update(List<SeedUnlockConditionsEntity> unlockConditions, Long seedId);

    List<SeedUnlockConditionsEntity> listBySeedId(Long seedId);

    List<UnlockConditionInfo2> getUnlockSeedsWithUser(Long seedId, Long userId);
}

